<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
            div{
                width: 150px;
                height: 200px;
                border: 2px solid grey;
            }
    
            .d1{
                
                position: fixed;
                left: 0;
                top: 0;
                z-index: 0;
            }
    
            .d2{
                background-color: white;
                position: fixed;
                left: 150px;
                top: 0px;
                z-index: 1;
            }
    
            .d3{
                background-color: white;
                position: fixed;
                left: 300px;
                top: 0px;
                z-index: 2;
            }
            .d4{
                background-color: white;
                position: fixed;
                left: 450px;
                top: 0px;
                z-index: 3;
            }
            .d5{
                background-color: white;
                position: fixed;
                left: 600px;
                top: 0px;
                z-index: 4;
            }
            .d1:hover{
                border: 2px solid orange;
                z-index: 5;
            }
            .d2:hover{
                border: 2px solid orange;
                z-index: 5;
            }
            .d3:hover{
                border: 2px solid orange;
                z-index: 5;
            }
            .d4:hover{
                border: 2px solid orange;
                z-index: 5;
            }
            .d5:hover{
                border: 2px solid orange;
                z-index: 5;
            }
        </style>
    </head>
    <body>
        <div class="d1"></div>
        <div class="d2"></div>
        <div class="d3"></div>
        <div class="d4"></div>
        <div class="d5"></div>
    </body>
    </html>